<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

 <%@ taglib prefix="s" uri="/struts-tags"%>
 <%@page import="bizImpl.*"%>
  <%@page import="bean.House"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My HouseRent -修改房屋信息</title>
<link type="text/css" rel="stylesheet" href="./css/style.css" />
<script type="text/javascript" src="scripts/function.js"></script>
</head>
<body>

<div id="header" class="wrap">
	<div id="logo"><img src="./images/logo.jpg" /></div>
 
</div>
<div id="regLogin" class="wrap">
	<div class="dialog">
		<dl class="clearfix">
			<dt>房屋信息修改</dt>
			<dd class="past">修改房屋信息</dd>
 
		</dl>
		<div class="box">
			<form action="update.action" method="post">
				<div class="infos">
				<s:iterator value="data" var="house">
					<table class="field">
						<tr>
						<input type="hidden" class="text" name="house.id" value="<s:property value="id"/>" />
							<td class="field">标　　题：</td>
							<td><input type="text" class="text" name="house.title" value="<s:property value="title"/>" /></td>
						</tr>
						<tr>
							<td class="field">户　　型：</td>
							<td><select  class="text" name="house.type_id" ><option value="1000"/>一室一厅</option></select></td>
						</tr>
						<tr>
							<td class="field">面　　积：</td>
							<td><input type="text" class="text" name="house.floorage"  value="<s:property value="floorage"/>"/></td>
						</tr>
						<tr>
							<td class="field">价　　格：</td>
							<td><input type="text" class="text" name="house.price"  value="<s:property value="price"/>"/></td>
						</tr>
                        <tr>
							<td class="field">位　　置：</td>
							<td>区：<select  class="text" name="house.district_id"><option value="<s:property value="district_id"/>"></option></select>
                            	街：<select  class="text" name="house.street_id"><option value="<s:property value="street_id"/>"></option></select>
                            </td>
						</tr>
                        <tr>
							<td class="field">联系方式：</td>
							<td><input type="text" class="text" name="house.contact" value="<s:property value="contact"/>"/></td>
						</tr>
                        <tr>
							<td class="field">详细信息：</td>
							<td><textarea name="house.description">不详</textarea></td>
						</tr>
					</table>
					
					<div class="buttons"><input type="submit" name="submit" value="立即修改" /></div>
					</s:iterator>
				</div>
				
			</form>
		</div>
	</div>
</div>
<div id="footer" class="wrap">
	<dl>
    	<dt>My HouseRent &copy; 2010 MHRの* 沪ICP证1000001号</dt>
        <dd>关于我们 · 联系方式 · 意见反馈 · 帮助中心</dd>
    </dl>
</div>
</body>
</html>